<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box {
            width: 200px;
            height: 200px;
            border-top: 10px solid black;
            border-right: 10px solid black;
            /* transform: skew(60deg); */
            /* transform: rotate(45deg); */
            position: absolute;
            top: 50%;
            transform: translate(74px, -50%) rotate(45deg);
        }
        .container {
            width: 500px;
            height: 500px;
            background-color: #e8e8e8;
            position: relative;
            margin: 16px;
        }
        .shan {
            width: 150px;
            height: 150px;
            border: 10px solid red;
            border-top-right-radius: 160px;
            transform: rotate(45deg);
        }

        .a {
            width: 50px;
            height: 50px;
            background-color: red;
            /* margin: 300px; */
            /* transform: translate(100px, 100px); */
            transform: rotate(15deg) translateX(200px) rotate(-15deg);
            transform-origin: 0 center;
            text-align: right;
            line-height: 50px;
        }

        .b {
            width: 100px;
            height: 100px;
            background-color: rgb(255, 0, 0);
            transform: rotate(15deg) scale(1.5);
            /* transition只能给带数字的属性加动画 */
            transition: transform 2s linear;
        }

        .b:hover {
            /* background-color: rgb(0, 0, 0); */
            /* width: 700px; */
            transform: rotate(30deg) scale(1);
        }

    </style>
</head>
<body>
    <div class="b"></div>
    <!-- <div class="container">
        <div class="box"></div>
    </div>

    <div class="container">
        <div class="shan"></div>
    </div> -->
<!--
    <div class="container">
        <div class="a">2</div>
    </div> -->

</body>
</html>